package com.wushuu.ce.http;


import com.wushuu.ce.interfaces.IBasePresenter;

import org.xutils.common.Callback;

/**
 * ============================================================
 * <br/>
 * 作 者 :        xyb
 * <br/>
 * 版 本 :        1.0
 * <br/>
 * 创建日期 ：     2016-05-16 上午10:57
 * <br/>
 * 描 述 ：    TODO jiangshan 要完善这个哦哦哦
 * <br/>
 * 修订历史 ：
 * <br/>
 * ============================================================
 **/
public class BaseCacheCallBack implements Callback.CacheCallback<String>{



    private IBasePresenter presenter;
    private int responseCode;


    public BaseCacheCallBack(IBasePresenter presenter, int reponseCode) {
        this.presenter = presenter;
        this.responseCode = reponseCode;
    }

    @Override
    public boolean onCache(String result) {
        return false;
    }

    @Override
    public void onSuccess(String result) {

    }

    @Override
    public void onError(Throwable ex, boolean isOnCallback) {

    }

    @Override
    public void onCancelled(CancelledException cex) {

    }

    @Override
    public void onFinished() {

    }
}
